package com.yami.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.bean.model.MeltCloudGroupUser;

import java.util.List;

public interface MeltCloudGroupUserService extends IService<MeltCloudGroupUser> {


    /**
     * 新增融云群组用户
     *
     * @param user
     */
    void insertGroupUser(MeltCloudGroupUser user);


    /**
     * 批量新增融云群组用户
     *
     * @param user
     */
    void insertBatchGroupUsers(List<MeltCloudGroupUser> user);


    /**
     * 禁言群成员
     *
     * @param groupId
     * @param groupUser
     */
    void taboo(String groupId, List<String> groupUser);

    void cancelTaboo(String groupId, List<String> groupUser);
}
